# @Time    :2025/3/28 11:51
from numpy.ma.core import inner

# 局部作用域-->嵌套作用域-->全局作用域-->内建作用域

b = int("10")
a = 10


def outer():
    c = 30
    print("作用域", a, c,b)

    def inner():
        d = 40
        print("局部作用域", a, c, d)
    return inner
inn1=outer()
inn1()